import config from '../config/config.js'
import request from '../utils/request.js'
import msgTool from '../utils/msgtools.js'

const userApi = {
	login: (userName,userPwd) => {
		debugger
		const postData = {account: userName, pwd: userPwd};
		request.post(
			config.apiUrl + 'member/userlogin', 
			postData,
			(res) => {
				console.log(res);
			},
			(err) => {
				console.log(err);
			}
		);
		
	} 
}

export default userApi
